/*
 * MessageForm.java
 *
 * Created on December 29, 2008, 6:51 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.vacuela.publishmx.web.bean;

import org.vacuela.publishmx.domains.Message;

/**
 *
 * @author nestor.carrasco
 */
public class MessageForm {
    private boolean newMessage;
    private Message message;
    private String individualNumbers;
    private String agendaNumbers;
    
    /** Creates a new instance of MessageForm */
    public MessageForm() {
           message = new Message();
           newMessage = true;
    }
    public MessageForm(Message msgInit){
        message = msgInit;
        newMessage = false;
    }
    
    public Message getMessage(){
        return message;
    }
    
    public boolean isNewMessage(){
        return newMessage;
    }
    
    
   

    public String getAgendaNumbers() {
        return agendaNumbers;
    }

    public void setAgendaNumbers(String agendaNumbers) {
        this.agendaNumbers = agendaNumbers;
    }
    
       public String getIndividualNumbers() {
        return individualNumbers;
    }

    public void setIndividualNumbers(String individualNumbers) {
        this.individualNumbers = individualNumbers;
    }
}
